package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *      物业-报修管理表实体对象
 * </desc>
 *
 * @createDate 2018/08/09
 */
@ItlTables("repair_process")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RepairProcessPO extends BasePO implements Serializable {

    @ItlField(value = "repair_id",logicKey = "key")
    private String repairId;            // 报修id
    @ItlField("repair_num")
    private String repairNum;           // 报修单号
    @ItlField("project_id")
    private String projectId;           // 项目ID
    @ItlField("fee_id")
    private String feeId;               // 缴费账单ID
    @ItlField("repair_type")
    private Integer repairType;         // 报修类型，1-个人设施 2-公共设施
    @ItlField("repair_description")
    private String repairDescription;   // 报修描述
    @ItlField("build_id")
    private String buildId;             // 楼栋ID
    @ItlField("unit_id")
    private String unitId;              // 单元ID
    @ItlField("room_id")
    private String roomId;              // 房间ID
    @ItlField("app_user_id")
    private String appUserId;           // 报修人app用户id
    @ItlField("accept_status")
    private Integer acceptStatus;       // 已受理状态：1正在处理，2申请撤销
    @ItlField("accept_person")
    private String acceptPerson;        // 受理人物业用户id
    @ItlField("serviceman_user_id")
    private String servicemanUserId;    // 维修人员用户id，多个用英文,相连
    @ItlField("serviceman_phone_num")
    private String servicemanPhoneNum;  // 维修人员联系电话
    @ItlField("appointment_time")
    private String appointmentTime;     // 预约时间
    @ItlField("repair_time")
    private Date repairTime;            // 报修时间
    @ItlField("accept_time")
    private Date acceptTime;            // 受理时间
    @ItlField("complete_time")
    private Date completeTime;          // 完成时间
    @ItlField("cancel_time")
    private Date cancelTime;            // 取消时间
    @ItlField("repair_picture")
    private String repairPicture;       // 报修图片，多个用英文,相连
    @ItlField("repair_status")
    private Integer repairStatus;       // 报修状态：1待受理 2已受理 3已完成 4已取消
    @ItlField("rework_status")
    private Integer reworkStatus;       // 是否返修：0-否，1-是
    @ItlField("rework_yet")
    private Integer reworkYet;          // 是否已审核返修：0-否，1-是
    @ItlField("rework_time")
    private Date reworkTime;            // 确认返修时间
    @ItlField("remark")
    private String remark;              // 备注
    @ItlField("app_status")
    private Integer appStatus;          // app端数据状态，0-删除，1-正常
    @ItlField("property_status")
    private Integer propertyStatus;     // 物业管理端数据状态，0-删除，1-正常

}
